#ifndef data_stream_h
#define data_stream_h

class CDataStream{
private:
	char * m_Buffer;
	int m_Length;
public:
	CDataStream();
	~CDataStream();
	void initialize();

	int read_buf(char * n_Buffer, int &n_Length);
	void new_file(char * n_FileName, unsigned long n_FileLength);
	char * update_buf();
	void update_len(int len);
};

#endif